package me.chanjar.weixin.component.bean.code;

import java.io.Serializable;

public class ExtJson implements Serializable {
  private static final long serialVersionUID = -4558480875137552517L;

  /** 规定当前的 ext.json 文件是否生效* */
  private boolean extEnable;

  /** 授权方Appid */
  private String extAppid;

  /** ext 自定义字段 */
  private Ext ext;

  public boolean isExtEnable() {
    return extEnable;
  }

  public void setExtEnable(boolean extEnable) {
    this.extEnable = extEnable;
  }

  public String getExtAppid() {
    return extAppid;
  }

  public void setExtAppid(String extAppid) {
    this.extAppid = extAppid;
  }

  public Ext getExt() {
    return ext;
  }

  public void setExt(Ext ext) {
    this.ext = ext;
  }

  public static class Ext {

    /** 授权小程序appId */
    private String appId;

    /** baseUrl */
    private String baseUrl;

    /** 服务电话 */
    private String serviceTel;

    /** 当前版本 */
    private String version;

    public String getAppId() {
      return appId;
    }

    public void setAppId(String appId) {
      this.appId = appId;
    }

    public String getBaseUrl() {
      return baseUrl;
    }

    public void setBaseUrl(String baseUrl) {
      this.baseUrl = baseUrl;
    }

    public String getServiceTel() {
      return serviceTel;
    }

    public void setServiceTel(String serviceTel) {
      this.serviceTel = serviceTel;
    }

    public String getVersion() {
      return version;
    }

    public void setVersion(String version) {
      this.version = version;
    }

  }

}
